from django.conf.urls import url

urlpatterns = [
    #equipment
    url(r'^$','cmdb.mequipment.views.index', name='home'),
    url(r'^/addinfo$','cmdb.mequipment.views.addinfo', name='equipmentadd'),
    url(r'/equipment_add$','cmdb.mequipment.views.addaction', name='eqaddaction'),
    url(r'^/editinfo$','cmdb.mequipment.views.editinfo', name='equipmentedit'),
    url(r'/equipment_edit$','cmdb.mequipment.views.editaction', name='eqeditaction'),
    url(r'/equipment_get$','cmdb.mequipment.views.getaction', name='eqgetaction'),
    url(r'/equipment_delete$','cmdb.mequipment.views.deleteaction', name='eqdeleteaction'),
    url(r'/equipment_unique$','cmdb.mequipment.views.eqUniqueCheck', name='equniquecheck'),

    #network
    url(r'^/net$','cmdb.mequipment.views.netinfo', name='netinfo'),
    url(r'^/naddinfo$','cmdb.mequipment.views.netaddinfo', name='netaddinfo'),
    url(r'^/net_add$','cmdb.mequipment.views.netaddaction', name='netaddaction'),
    url(r'^/neditinfo$','cmdb.mequipment.views.neteditinfo', name='neteditinfo'),
    url(r'^/net_edit$','cmdb.mequipment.views.neteditaction', name='neteditaction'),
    url(r'^/net_delete$','cmdb.mequipment.views.netdelete', name='netdelete'),
    url(r'^/net_get$','cmdb.mequipment.views.netget', name='netget'),
    url(r'/net_unique$','cmdb.mequipment.views.netUniqueCheck', name='netuniquecheck'),

    #server_room
    url(r'^/sroom$','cmdb.mequipment.views.roominfo', name='roominfo'),
    url(r'^/saddinfo$','cmdb.mequipment.views.saddinfo', name='saddinfo'),
    url(r'^/sroom_add$','cmdb.mequipment.views.saddaction', name='saddaction'),
    url(r'^/seditinfo$','cmdb.mequipment.views.seditinfo', name='seditinfo'),
    url(r'^/sroom_edit$','cmdb.mequipment.views.seditaction', name='seditaction'),
    url(r'^/sroom_delete$','cmdb.mequipment.views.sdeleteaction', name='sdelete'),

    #manufacturer and provider
    url(r'^/merchant$','cmdb.mequipment.views.merchantinfo', name='merchantinfo'),
    url(r'^/maddinfo$','cmdb.mequipment.views.maddinfo', name='maddinfo'),
    url(r'^/merchant_add$','cmdb.mequipment.views.maddaction', name='maddaction'),
    url(r'^/meditinfo$','cmdb.mequipment.views.meditinfo', name='meditinfo'),
    url(r'^/merchant_edit$','cmdb.mequipment.views.meditaction', name='meditaction'),
    url(r'^/merchant_delete$','cmdb.mequipment.views.mdelete', name='mdelete'),

    #repair log
    url(r'^/repair$','cmdb.mequipment.views.repairinfo', name='repairinfo'),
    url(r'^/raddinfo$','cmdb.mequipment.views.raddinfo', name='raddinfo'),
    url(r'^/repair_add$','cmdb.mequipment.views.raddaction', name='raddaction'),
    url(r'^/reditinfo$','cmdb.mequipment.views.reditinfo', name='reditinfo'),
    url(r'^/repair_edit$','cmdb.mequipment.views.reditaction', name='reditaction'),
    url(r'^/repair_get$','cmdb.mequipment.views.rgetaction', name='rgetaction'),
]